<?php include template('header');//include template('top');?>
			<div class="wp">
			<div class="article article_detail" id="article-<?=$article['aid'];?>">
			
				<h1 class="article-title"><?=$article['title'];?>st</h1>

				<div class="post-info">
				<?=gdate('Y年m月d日',$article['dateline']); ?>,<?=$article['views'];?> 次阅读 | 分类:
				<?php //echo $article['catename']?>
				| 标签:<?=$article['tags']?> | 
				<?=$article['comments']?$article['comments'].' 条评论':'暂无评论'?> 
				</div>
				<?php 
				if (!empty($article['password']) && $article['uid'] != $_G['uid'] && !ISADMIN) {
				$pass = getGP('article_passwd'.$id,'c');
				if ($pass != $article['password']) {
					$article['content'] = '<form method="post" action="javascript: article_password('.$article['aid'].');"><div><h4>加密文章</h4><p>这篇文章已被密码保护，请输入密码后查看。<br />密码：<input type="password" name="passwd'.$article['aid'].'" size="22" /> <input type="submit" name="submit'.$article['aid'].'" value="提交" /></p></div><div id="errormsg">&nbsp;</div></form>';
				}
				}
				?>
				<div class="content"><?=ubb_decode($article['content'])?></div>
				<?php include template('comment');?>
			</div>
			</div>
		

<?php //template('sidebar')?>
<style type="text/css">body{background:#E0E0E0;}</style>"
<?php include template('footer')?>